package com.xingyun.kingdee.erp.tools.response.model.save;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author lingo
 * @version v1.0
 * @date 2019/11/16 11:29
 * @Company www.xyb2b.com
 */

@Setter
@Getter
@ToString
public class ErpSaveFormResponse {

    @JSONField(name = "ErrorCode")
    private String errorCode;

    @JSONField(name = "IsSuccess")
    private boolean success;

    @JSONField(name = "Errors")
    private List<SaveFormResponseErrorEntity> errorEntitys;

    @JSONField(name = "SuccessEntitys")
    private List<SaveFormResponseSuccessEntity> successEntitys;

    @JSONField(name = "SuccessMessages")
    private List<JSONObject> successMessages;

    @JSONField(name = "NeedReturnData")
    private List<JSONObject> needReturnData;

}
